package com.chenyue.cm.match.vo;

import com.chenyue.cm.match.domain.MatchInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: ljy
 * @Title: TemporaryTeam
 * @Description: 临时团队列表
 * @Date: 2021-08-02
 */
@Data
public class TemporaryTeam {
    @ApiModelProperty(value = "队伍id")
    private Integer teamId;

    @ApiModelProperty(value = "创建人id")
    private Integer leaderId;

    @ApiModelProperty(value = "创建人名称")
    private String leaderName;

    @ApiModelProperty(value = "头像")
    private String leaderHeadImg;

    @ApiModelProperty(value = "团队名称")
    private String teamName;

    @ApiModelProperty(value = "待组队人数")
    private Integer requiredNum;

    @ApiModelProperty(value = "已组队人数")
    private Integer teamUserNum;

    @ApiModelProperty(value = "赛事详情")
    private MatchInfo matchInfo;

    @ApiModelProperty(value = "队伍成员")
    private List<TeamUserInfo> teamUserInfo;

    @Data
    public static class TeamUserInfo {

        @ApiModelProperty(value = "用户id")
        private Integer userId;

        @ApiModelProperty(value = "用户名")
        private String userName;

        @ApiModelProperty(value = "用户头像")
        private String userHeadImg;

        @ApiModelProperty(value = "用户手机号")
        private String userPhone;

        @ApiModelProperty(value = "用户编号")
        private String userNum;

    }
}
